home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
BBS-Archive
/
DiskUtil
/
CD-ROM
/
JukeBox.lha
/
FADEOUT.JB
< prev
next >
Wrap
Text File
|
1995-08-23
|
573b
|
37 lines
/* fade in - requires V2 player module */
/* (c) copyright 1993 by F.J. Reichert */
options results;
current volume right;
right = result;
current volume left;
left = result;
if right > left then do
do i = right to left by -1;
set volume "-1" i;
current break;
if result ~= 0 then exit(5);
end;
level = left;
end;
else do;
do i = left to right by -1;
set volume i "-1";
current break;
if result ~= 0 then exit(5);
end;
level = right;
end;
do i = level to 0 by -1;
set volume i i;
current break;
if result ~= 0 then exit(5);
end;
pause;
exit(0);